package h.ku.eval
{
	import h.ku.lang.hkuObject;

	public class BlockEval extends FunctionEval
	{
		public var blockParameters:Array
		public var implicit:hkuObject
		public function BlockEval(args:Array,params:Array)
		{
			super("",args,true)
		}
		
		public function setParams(a:Array):void
		{
			this.blockParameters = a
		}
		
		protected override function beginFuncEval():void
		{
			finishFunctionEval(maskImplicitObject())
		}
		
		private function maskImplicitObject():hkuObject
		{
			return implicit
		}
	}
}